import { EntityModel } from "@midwayjs/orm";
import {Column, PrimaryGeneratedColumn} from 'typeorm'

@EntityModel('idle')
export class Idle {
    @PrimaryGeneratedColumn()
    id:number;

    @Column()
    ownerid:string;

    @Column()
    title:string;

    @Column()
    price:string;

    @Column()
    description:string;

    @Column()
    image:string;
    
    @Column()
    status:string;

}